Skip to content

ci: release-please + jar release pipeline#10

Merged
hbrombeer merged 1 commit intomainfrom
feat/release-pipeline
Apr 25, 2026
Merged

ci: release-please + jar release pipeline#10
hbrombeer merged 1 commit intomainfrom
feat/release-pipeline

Conversation

@hbrombeer
Copy link
Copy Markdown
Member

Summary

  • release-please-config.json — simple release-type, bump-minor-pre-major, release-as: 0.1.0 so the first auto-release lands on 0.1.0 (not 1.0.0)
  • .release-please-manifest.json seeded at 0.0.0
  • .github/workflows/release-please.yml — uses the shared groundsgg/.github reusable workflow
  • .github/workflows/release.yml — custom: on tag push, builds the shadow JAR with the tag's version and uploads to the GH release via gh release upload

Why custom release.yml (not shared gradle-publish.yml)

The shared gradle-publish.yml runs ./gradlew publish against a Maven publication. This plugin isn't consumed as a Gradle dependency anywhere, so the maven-publish overhead is not warranted; the Velocity-plugin shadow JAR is the distributable.

Deferred to a follow-up

Custom Velocity image bundling the JAR + prod plugins (spec §4.3) — v0.1 ships JAR-only.

Test plan

  • ./gradlew shadowJar produces the artifact locally
  • CI on this PR passes (release workflows themselves only fire on tag push)
  • After merging, release-please opens a PR; merging that PR creates the v0.1.0 tag; release.yml then uploads the JAR

Plan: docs/plans/2026-04-25-plugin-platform-router.md (T10)

- release-please-config.json: simple type, bump-minor-pre-major,
  release-as 0.1.0 (first release goes to 0.1.0 not 1.0.0)
- .release-please-manifest.json seeded at 0.0.0
- .github/workflows/release-please.yml: shared groundsgg/.github
  release-please reusable workflow
- .github/workflows/release.yml: custom — on tag push, builds the
  shadow JAR with the tag's version and uploads it to the GH release
  via gh CLI

Deviation from shared gradle-publish.yml: that workflow expects a
`./gradlew publish` task wired through maven-publish. We don't consume
this plugin as a Gradle dependency anywhere, so the maven-publish
overhead is not warranted; the Velocity-plugin shadow JAR is the
distributable.

Custom Velocity image (spec §4.3) is intentionally deferred to a
follow-up — v0.1 ships JAR-only.
@hbrombeer hbrombeer merged commit eed2ca9 into main Apr 25, 2026
2 checks passed
@hbrombeer hbrombeer deleted the feat/release-pipeline branch April 25, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant